package compiler.syntax.nonTerminal;

import java.util.List;

import es.uned.lsi.compiler.intermediate.QuadrupleIF;
import es.uned.lsi.compiler.intermediate.TemporalIF;

public class SentenciaIf extends NonTerminal{

	private TemporalIF temporal;
	private List<QuadrupleIF> quadrupleList;
	
	public List<QuadrupleIF> getCode() {
		return quadrupleList;
	}

	public void setCode(List<QuadrupleIF> quadruple) {
		this.quadrupleList = quadruple;
	}
	
	public void addCode(List<QuadrupleIF> quadruple) {
		if(quadruple!=null){
			this.quadrupleList.addAll(quadruple);
		}
	}
	
	public SentenciaIf() {
		super();
	}
	
}
